import request from '@/utils/request';
export function queryAllTheme() {
  return request({
    url: 'rest/api/manager/portal/v1/theme/manager/blurry',
    method: 'get'
  });
}

export function saveObject(data) {
  return request({
    url: 'rest/api/manager/portal/v1/theme/manager/save/entity',
    method: 'post',
    data
  });
}

export function updateObject(data) {
  return request({
    url: 'rest/api/manager/portal/v1/theme/manager/update/entity',
    method: 'post',
    data
  });
}

export function deleteObject(data) {
  return request({
    url: 'rest/api/manager/portal/v1/theme/manager/del',
    method: 'post',
    data
  });
}
